package cn.zktr.Personnel.common;

import java.util.regex.Pattern;
import java.util.regex.Matcher;

public class PhoneVerifier {
	/**手机号码验证
	 * 用正则实现
	 * @param mobiles
	 * @return
	 */
	public static boolean isMobileNO(String phone){  
		Pattern p = Pattern.compile("^((13[0-9])|(15[^4,\\D])|(18[0,5-9]))\\d{8}$");
		Matcher m = p.matcher(phone);
		return m.matches(); 
	}
}
